package Edchl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7FldXTN extends MessageComponent{
	
	//Declarations

	public EDC_HL7FldST PhoneNumberString;
	public EDC_HL7FldST TelecommunicationUseCode;
	public EDC_HL7FldST TelecommunicationEquipmentType;
	public EDC_HL7FldST EmailAddress;
	public EDC_HL7FldI4 CountryCode;
	public EDC_HL7FldI4 AreaOrCityCode;
	public EDC_HL7FldI4 PhoneNumber;
	public EDC_HL7FldI4 Extension;
	public EDC_HL7FldST AnyText;

	//Constructor
	public EDC_HL7FldXTN(MessageElement elem) {
		super(elem);
		PhoneNumberString = new EDC_HL7FldST(elem.getElementAt("PhoneNumberString"));
		TelecommunicationUseCode = new EDC_HL7FldST(elem.getElementAt("TelecommunicationUseCode"));
		TelecommunicationEquipmentType = new EDC_HL7FldST(elem.getElementAt("TelecommunicationEquipmentType"));
		EmailAddress = new EDC_HL7FldST(elem.getElementAt("EmailAddress"));
		CountryCode = new EDC_HL7FldI4(elem.getElementAt("CountryCode"));
		AreaOrCityCode = new EDC_HL7FldI4(elem.getElementAt("AreaOrCityCode"));
		PhoneNumber = new EDC_HL7FldI4(elem.getElementAt("PhoneNumber"));
		Extension = new EDC_HL7FldI4(elem.getElementAt("Extension"));
		AnyText = new EDC_HL7FldST(elem.getElementAt("AnyText"));
	}

}
